//
//  LRXContentView.h
//  路人侠
//
//  Created by zhangxulong on 2/8/16.
//  Copyright © 2016 zhangxulong. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LRXBedroom.h"
@class LRXContentView;
@protocol  ContentViewDelegate <NSObject>

@optional
- (void)clickMoreThingInfoBtn;
- (void)pushBuyThingView;
- (void)clickAddAddrcBtn:(LRXContentView *)contentView flag:(NSInteger)btnFlag;

@end

@interface LRXContentView : UIView
@property (nonatomic,strong) NSMutableArray * thingArray;
@property (nonatomic,strong) UIScrollView * contentView;

@property (nonatomic,weak) UIButton * sendAddrBtn;
@property (nonatomic,weak) UILabel * sendlabel;
@property (nonatomic,copy) NSString * locationAddr;
@property (nonatomic,copy) NSString * bedRoomStr;
@property (nonatomic,copy) NSString * bedRoomBlockStr;
@property (nonatomic,copy) NSString * sendAddrText;    //送达地点
@property (nonatomic,assign) CGFloat navH;
@property (nonatomic,strong) UITextField * startTimeField;  //开始时间
@property (nonatomic,strong) UITextField * endTimeField;    //结束时间
@property (nonatomic,assign) CGFloat thingMoneySum;     //物品总价钱
@property (nonatomic,strong) UITextView * mesgView;     //用户留言
@property (nonatomic,copy) NSString * sendHomeFlag;

@property (nonatomic,weak) id<ContentViewDelegate>  moreThingInfoDelegate;
- (void)layoutContentView;
- (void)layoutThingView;

- (void)setSendAddr:(NSString *)sendAddrStr withBedroom:(LRXBedroom *)bedRoom;

@end
